package com.huawei.appgallery.forum.base.card.bean;

import com.huawei.appgallery.jsonkit.api.JsonBean;
import com.huawei.appgallery.jsonkit.api.annotation.FieldSecurity;
import com.huawei.appgallery.jsonkit.api.annotation.SecurityLevel;
import java.io.Serializable;
import java.util.List;
import o.dof;

public class Post extends JsonBean implements Serializable {
    public static final int TYPE_IMG = 0;
    public static final int TYPE_VIDEO = 1;
    private static final long serialVersionUID = 7479400277084562895L;
    String cardId;
    @FieldSecurity(security = SecurityLevel.PRIVACY)
    String content_;
    String detailId_;
    int floor_;
    long id_;
    long likeCount_;
    int mediaType_ = 0;
    List<ImageInfo> pics_;
    PostTime postTime_;
    long readCount_;
    long replyCount_;
    String replyId_;
    List<String> stamps_;
    int status_ = 0;
    String title_;
    int type_;
    VideoInfo video_;

    public long ˏ() {
        return this.id_;
    }

    public PostTime ˎ() {
        return this.postTime_;
    }

    public String ˊ() {
        return this.title_;
    }

    public String ॱ() {
        return this.content_;
    }

    public List<String> ˋ() {
        return this.stamps_;
    }

    public List<ImageInfo> ॱॱ() {
        return this.pics_;
    }

    public long ᐝ() {
        return this.readCount_;
    }

    public long ʻ() {
        return this.likeCount_;
    }

    public long ʼ() {
        return this.replyCount_;
    }

    public VideoInfo ʽ() {
        return this.video_;
    }

    public int ॱˊ() {
        return this.status_;
    }

    public int ˊॱ() {
        return this.floor_;
    }

    public String ͺ() {
        return this.detailId_;
    }

    public void ˊ(long j) {
        this.id_ = j;
    }

    public void ˏ(PostTime postTime) {
        this.postTime_ = postTime;
    }

    public void ॱ(String str) {
        this.title_ = str;
    }

    public void ˏ(String str) {
        this.content_ = str;
    }

    public void ˏ(List<ImageInfo> list) {
        this.pics_ = list;
    }

    public void ˋ(long j) {
        this.likeCount_ = j;
    }

    public void ˎ(long j) {
        this.replyCount_ = j;
    }

    public void ॱ(int i) {
        this.status_ = i;
    }

    public void ˎ(String str) {
        this.detailId_ = str;
    }

    public String ˏॱ() {
        return this.replyId_;
    }

    public String ˋॱ() {
        if (dof.ॱ(this.cardId)) {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.append(this.type_).append("_").append(this.id_);
            this.cardId = stringBuilder.toString();
        }
        return this.cardId;
    }

    public void ˏ(int i) {
        this.type_ = i;
    }

    public boolean ʻॱ() {
        return (this.mediaType_ != 1 || this.video_ == null || dof.ˋ(this.video_.ˎ())) ? false : true;
    }

    public boolean ᐝॱ() {
        return this.mediaType_ == 1;
    }
}
